import pandas as pd
import numpy as np

data = {'北京': 22.5, '上海': 23.1, '广州': 24.8}
s3 = pd.Series(data, name='温度记录')

print(s3.values)  # 输出：[22.5 23.1 24.8]
print(s3.index)   # 输出：Index(['北京', '上海', '广州'], dtype='object')
print(s3.dtype)   # 输出：float64
print(s3.shape)   # 输出：(3,)
print(s3.name)    # 输出：温度记录
